RL:BarCode OCX Professional Ver. 1.21 ===================================== Setup ===== To install this OCX in Windows 95 or Window NT. First, Unzip the RLBAR121.EXE file. (Self-unzip format) Extract the files to a specify directory (default directory is C:\OCX_TEMP) You can find out these files and directories like following: README.TXT This File ORDER.TXT How to order this ocx Sample -+ (Visual Basic 4.0 / 5.0 Sample) +-- PROJECT1.VBP Sample Project file | : | : Setup -+ (Setup program directory) +-- Setup.exe Setup program | : | : Now you can double-click on it and execute the setup program. When setup finished, that mean you can use the OCX in the Visual Basic development evironment (v4.0 or v5.0) Otherwise, You can find out for these files on installation directory (the temp directory that you extract the install program): RL:BarCode OCX Professional Ver. 1.21 ===================================== RL:BarCode OCX Control is support for the BarCode drawing. Use this control, you can control any BarCode in your program. You also can print the BarCode from your program, or let your program can print the BarCode to the printer. All in your control! Use this control, you can design any application that need BarCode support. The Point is : You don't need to know any BarCode's rule!! RL:BarCode OCX allow you print the BarCode to the printer! You can use it to print a very match size BarCode that you want. You do not need the other BarCode Control any more! in before case, the other BarCode Control is make the BarCode to the screen or bitmap picture, then paint the BarCode's picture to the printer. This way will let the BarCode look like so bad. And the BarCode's Code Text will look not sure beauty. INFORMATION Warning!! ========= This control is a evaluation copy, it can use in development evironment only. If you want use it to design some application in your project, you MUST buy the Extra Version. In Extra Version, you can get all of the powerful function that you need !! For Detail, Please read ORDER.TXT. About this version ================== In this version, we versus with Intel Pentium processor for optimum proformance. So it will has better process with drawing graphics. ----------------------------------------------------------------------- Visual Basic 4.0 / 5.0 Sample ============================= There has a sample project named Project1.vbp, you can try to open it in your Visual Basic 4.0 (32 bit) / 5.0, the sample program will show you how the OCX control works. Introuction =========== The RL:BarCode Control are support the BarCode drawing method like below: BarCODABAR BarCODE128 BarCODE25 BarCODE39 BarCODE39F BarCODE93 BarEAN13 BarEAN8 BarISBN BarCODEMSI BarPOSTNET BarUPCA BarUPCAPlus BarUPCE You can use the method name to drawing the barcode you want. How To Use ========== Before you design your application with RL:BarCode OCX, you MUST insert the Security Key (the KeyPro) into your Printer port (like LPT1:). for example: 1. You want a Code 39 BarCode 2. The RL:BarCode Control is named RLBar1 3. You want to drawing on a PictureBox named Picture1 You just need fill the code of method call like below: Private Sub Command1_Click() RLBar1.BarCODE39 Picture1, _ 0, 0, _ "1234567890", _ 20, _ 500, _ 1, _ False, "Arial", _ QBColor(1), QBColor(0), _ "5:2", _ True End Sub Function Define =============== All the method call parameters is same, all of the methods has 14 parameters, You don't need to declare the function, because all the function are packaged becomes methods of the control that you are used, the below just show you the method's parameters: Public Function BarCODE39(pObject As Object, pX As Single, pY As Single, pCode As String, pWidth As Integer, pHeight As Integer, pText As Integer, pBold As Boolean pFont As String, pForeColor As Long pLineColor As Long, pRatio As String, pChk As Boolean) As Integer All parameters means like below: pObject Drawing on what object. (the pObject must be the object that can support drawing method, like [Line] or [Cls] method.) (If you want to print out the BarCode to the printer, just need to set this parameter to Printer.) eg: Form1, Picture1, Printer pX BarCode Drawing Position X (Size will changed with the ScaleMode) pY BarCode Drawing Position Y (Size will changed with the ScaleMode) pCode BarCode's Code (Different BarCode has its owns rule, You must know it) eg: EAN13 must has 12 digits that can make a BarCode EAN8 must has 7 digits that can make a BarCode Code39 has not any rule ...etc. pWidth BarCode's Width (Draw On Object : 1~99) (Draw On Printer: 1~999) pHeight BarCode's Height (Draw On Object : 1~999) (Draw On Printer: 1~9999) pText BarCode's Code on where (0 : None) (1 : Below) (2 : Upper) pBold Show BarCode's Code Font Bold (True or False) pFontName BarCode's Code Font Name (eg: "Arial") pFontColor BarCode's Code Font Color (You can use the real color like : &h33FF0011 , but that will be very hard to coding or to know. So you can instead with QBColor(4) or RGB(10,13,20) ) pBarcodeColor BarCode's Color (You can use the real color like : &h33FF0011 , but that will be very hard to coding or to know. So you can instead with QBColor(4) or RGB(10,13,20) ) pNerrow The BarCode's Nerrow (This parameter is use in some BarCode that need Nerrow set, like Code39, Code128, CODABAR, etc... if the BarCode has no Nerrow set, like EAN13, EAN8, You can just filled the parameter with a "1:1") (eg: "3:1") pChecksum BarCode's CheckSum (True : Show CheckSum) (False: Do not Show CheckSum) Contact with us =============== If you have other question, please contact with us by e-mail support@reiolabs.com service@reiolabs.com or visit our site for new information, or new version upgraged http://www.reiolabs.com ---------------------------------------------------------------------- (p)1997 REIO Labs. (c)1998 PHISYS Corporation. All rights reserved. Information in this document is subject to change without notice. Other products and companies referred to herein are trademarks or registered trademarks of their respective companies or mark holders.